﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddImgSlide.aspx.cs" Inherits="ShowRoom.admin.AddImgSlide" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="css/admin.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div style="width:100%;text-align:center;color:#C794BA;font-weight:bold;margin-bottom:10px;margin-top:15px;"><asp:Label ID="lblTil" runat="server" Text="QUẢN LÝ SILE TRANG CHỦ"></asp:Label></div>       
     <table id="tblMaster" runat="server" bordercolor="#E1E1E1"  border="1" cellpadding="0" cellspacing="0" width="100%"
            style="border-collapse: collapse;">   
            <tr>                
                 <td style="width: 15%;text-align:right;padding-right:10px;height:30px"  nowrap>
                    Tên hình :</td>
                <td style="width: 85%; text-align: left;padding-left:5px">
                    <asp:TextBox ID="txtTen" CssClass="cssTextBox" Width="90%" runat="server" ></asp:TextBox></td>
            </tr>
             <tr>                
                 <td style="width: 15%;text-align:right;padding-right:10px;height:30px"  nowrap>
                    Liên kết :</td>
                <td style="width: 85%; text-align: left;padding-left:5px">
                    <asp:TextBox ID="txtLink" CssClass="cssTextBox" Width="90%" runat="server" ></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 15%;text-align:right;padding-right:10px;height:30px"  nowrap>
                    Hình ảnh :</td>
                <td style="width: 85%; text-align: left;padding-left:5px">
                    <asp:TextBox ID="imagePath" runat="server" Height="14px" MaxLength="256" Visible="False" CssClass="cssTextBox"
                                        Width="117px"></asp:TextBox><asp:FileUpload ID="FileUpload" runat="server" Width="290px"  />
                                    <asp:Label ID="lblImagesURl" runat="server" Visible="False"></asp:Label>
                                    &nbsp;(tối đa 25KB)&nbsp;<asp:Label ID="Display" runat="server" ForeColor="Red"></asp:Label></td>
            </tr>  
             <tr>                
                 <td style="width: 15%;text-align:right;padding-right:10px;height:30px"  nowrap>
                    Note :</td>
                <td style="width: 85%; text-align: left;padding-left:5px">
                    <fckeditorv2:fckeditor id="txtNote" Width="100%" runat="server" Height="280px"></fckeditorv2:fckeditor></td>
            </tr>                
            <tr>
                <td style="width: 15%;text-align:right;padding-right:10px;height:30px"  nowrap>
                    Ẩn/ Hiện:</td>
                <td style="width: 85%; text-align: left;padding-left:5px" >
                    <asp:DropDownList ID="ddlActive" runat="server" Width="200px" CssClass="cssDropDown">
                        <asp:ListItem Value="Y">Hiện</asp:ListItem>
                        <asp:ListItem Value="N">Ẩn</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>       
           
            <tr>
                <td class="ActDocTD2" style="height: 21px">
                    &nbsp;</td>
                <td style="text-align: left; height: 21px;" align="center" class="ActDocTD3">
                    <asp:Button ID="btnSave" CssClass="button" runat="server" Text="Save" OnClick="btnSave_Click"
                        Width="75px" />&nbsp;<asp:Button ID="btnCancel" CssClass="button" runat="server"
                            Text="Cancel" Width="75px" onclick="btnCancel_Click" /></td>
            </tr>
        </table>
        <input id="hImagePath" type="hidden" name="hImagePath" runat="server" />
    </form>
</body>
</html>
